// 路由配置 

// 路由映射
module.exports = {
	'test/test': 'test_controller@test',

	// 项目流程相关路由
	'project_flow/history': 'project_flow_controller@getFlowHistory',

	// 登录相关
	'dev/login': 'passport_controller@getDevLogin',
	'sys/login': 'passport_controller@getSysLogin',
	'passport/phone': 'passport_controller@getPhone',
	'passport/my_detail': 'passport_controller@getMyDetail',
	'passport/user_detail': 'passport_controller@getUserDetail',
	'passport/edit': 'passport_controller@edit',
	'passport/mini_tpl_message_set': 'passport_controller@setMiniTemplateMessageSet',
	'passport/logout': 'passport_controller@logout',

	'admin/home': 'admin/admin_home_controller@adminHome',
	'admin/clear_cache': 'admin/admin_home_controller@clearCache',
	
	'news/home': 'news_controller@getHomeList',
	'news/list': 'news_controller@getNewsList',
	'news/view': 'news_controller@viewNews',
	'task/list': 'task_controller@getTaskList',
	'task/view': 'task_controller@viewTask',
	'workflow/my_list': 'workflow_controller@getMyList',
	'workflow/my_detail': 'workflow_controller@getMyDetail',

	'research_project/list': 'research_project_controller@getList',
	'research_project/detail': 'research_project_controller@getDetail',
	'research_project/edit': 'research_project_controller@edit',
	'research_project/resource_list': 'research_project_controller@getResourceList',
	'research/detail': 'research_controller@getResearchDetail',
	'research/get_resource_versions': 'research_controller@getResourceVersions',
	'research/simulation_record': 'research_controller@simulationRecordAction',
	'research/branch': 'research_branch_controller@router',
	'flow/node/admin/list': 'flow_controller@getAdminNodeList',
	'flow/node/task': 'flow_controller@getFlowNodeTask',
	'flow/node/user': 'flow_controller@getFlowNodeUser',
	'flow/node/user/list': 'flow_controller@getMyNodeList',

	'research_project/branch_list': 'research_project_controller@getBranchList',
	
	'research_project/create_branch': 'research_project_controller@createBranch',
	
	'research_project/update_branch': 'research_project_controller@updateBranch',
	
	'research_project/merge_branch': 'research_project_controller@mergeBranch',
	
	'research_project/delete_branch': 'research_project_controller@deleteBranch',
	
	'research_project/branch_versions': 'research_project_controller@getBranchVersions',
	
	'research_project/switch_version': 'research_project_controller@switchToVersion',
	
	'flow/task/user/list': 'flow_controller@getMyUserTaskList',
	'flow/task/user/flow_list': 'flow_controller@getMyUserTaskFlowList',
	'flow/task/user/task_list': 'flow_controller@getMyUserTaskTaskList',
	'flow/task/detail': 'flow_controller@getTaskDetail',
	'flow/task/edit': 'flow_controller@editTaskItem',


	'flow/task/admin/list': 'flow_controller@getAdminTaskList',
	'flow/task/admin/flow_list': 'flow_controller@getAdminTaskFlowList',
	'flow/task/admin/task_list': 'flow_controller@getAdminTaskTaskList',
	'flow/task/admin/stat': 'flow_controller@statTaskItem',
	'flow/task/delete': 'flow_controller@deleteTaskItem',


	'flow/list': 'flow_controller@getFlowList',
	'flow/all_list': 'flow_controller@getAllFlowList',
	'flow/show_list': 'flow_controller@getFlowShowList',
	'flow/detail': 'flow_controller@getFlowDetail',
	'flow/view': 'flow_controller@viewFlow',
	'flow/all_node': 'flow_controller@getAllNode',
	'flow/node_detail': 'flow_controller@getNodeDetail',
	'flow/edit': 'flow_controller@editFlow',
	'flow/update_sort': 'flow_controller@updateFlowSort',
	'flow/clear_flow': 'flow_controller@clearFlow',
	'flow/delete': 'flow_controller@deleteFlow',
	'flow/temp_insert': 'flow_controller@tempInsertFlow',
	'flow/my_user': 'flow_controller@getMyUser',
	'flow/edit_node': 'flow_controller@editNode',
	'flow/update_node_sort': 'flow_controller@updateNodeSort',
	'flow/delete_node': 'flow_controller@deleteNode',
	'flow/update_node_check': 'flow_controller@updateNodeCheck',
	'flow/update_user': 'flow_controller@updateUser',
	'flow/task_history': 'flow_controller@getTaskHistory',
	'flow/chart': 'flow_controller@getFlowChart',

	// 动态路由分隔符
	// #dynamic_router_mark_begin#
	'test/dynamic': 'test_controller@testDynamic',

	'task/insert': 'task_controller@insertTask',

	'task/edit': 'task_controller@editTask',

	'task/updatemore': 'task_controller@updateTaskMore',

	'task/update': 'task_controller@updateTask',

	'task/del': 'task_controller@delTask',

	'task/status': 'task_controller@updateTaskStatus',

	'task/bind_view': 'task_controller@unbindTaskView',

	'task/bind_users': 'task_controller@updateTaskBindUsers',

	'task/comment_list': 'task_controller@getTaskCommentList',

	'task/comment_insert': 'task_controller@insertTaskComment',

	'task/comment_update': 'task_controller@updateTaskComment',

	'task/comment_del': 'task_controller@delTaskComment',

	'research_project/branch_list': 'research_project_controller@getBranchList',

	'research_project/create_branch': 'research_project_controller@createBranch',

	'research_project/update_branch': 'research_project_controller@updateBranch',

	'research_project/merge_branch': 'research_project_controller@mergeBranch',

	'research_project/delete_branch': 'research_project_controller@deleteBranch',

	'research_project/branch_versions': 'research_project_controller@getBranchVersions',

	'research_project/switch_version': 'research_project_controller@switchToVersion',

	'research_project/resource_list': 'research_project_controller@getResourceList',

	'research/detail': 'research_controller@getResearchDetail',
	'research/get_resource_versions': 'research_controller@getResourceVersions',
	'research/simulation_record': 'research_controller@simulationRecordAction',

	'flow/node/admin/list': 'flow_controller@getAdminNodeList',

	// #dynamic_router_mark_end#
}; 